package com.mall.domain;



import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;
@JsonIgnoreProperties(value = {"handler"})
public class Order {

  private Integer id;
  private String order_code;
  private Integer payment_money;
  private Integer payment_type;
  private Integer post_fee;
  private Integer status;
  private Date created;
  private Date updated;
  private Date payment_time;
  private Date consign_time;
  private Date end_time;
  private Date close_time;
  private String shipping_name;
  private String shipping_code;
  private Integer member_id;
  private String buyer_msg;
  private String buyer_nickname;
  private Integer buyer_comment;
  private Integer address_id;
  private Integer flag;
  private List<OrderDetails> orderDetails;

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getOrder_code() {
    return order_code;
  }

  public void setOrder_code(String order_code) {
    this.order_code = order_code;
  }

  public Integer getPayment_money() {
    return payment_money;
  }

  public void setPayment_money(Integer payment_money) {
    this.payment_money = payment_money;
  }

  public Integer getPayment_type() {
    return payment_type;
  }

  public void setPayment_type(Integer payment_type) {
    this.payment_type = payment_type;
  }

  public Integer getPost_fee() {
    return post_fee;
  }

  public void setPost_fee(Integer post_fee) {
    this.post_fee = post_fee;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public Date getCreated() {
    return created;
  }

  public void setCreated(Date created) {
    this.created = created;
  }

  public Date getUpdated() {
    return updated;
  }

  public void setUpdated(Date updated) {
    this.updated = updated;
  }

  public Date getPayment_time() {
    return payment_time;
  }

  public void setPayment_time(Date payment_time) {
    this.payment_time = payment_time;
  }

  public Date getConsign_time() {
    return consign_time;
  }

  public void setConsign_time(Date consign_time) {
    this.consign_time = consign_time;
  }

  public Date getEnd_time() {
    return end_time;
  }

  public void setEnd_time(Date end_time) {
    this.end_time = end_time;
  }

  public Date getClose_time() {
    return close_time;
  }

  public void setClose_time(Date close_time) {
    this.close_time = close_time;
  }

  public String getShipping_name() {
    return shipping_name;
  }

  public void setShipping_name(String shipping_name) {
    this.shipping_name = shipping_name;
  }

  public String getShipping_code() {
    return shipping_code;
  }

  public void setShipping_code(String shipping_code) {
    this.shipping_code = shipping_code;
  }

  public Integer getMember_id() {
    return member_id;
  }

  public void setMember_id(Integer member_id) {
    this.member_id = member_id;
  }

  public String getBuyer_msg() {
    return buyer_msg;
  }

  public void setBuyer_msg(String buyer_msg) {
    this.buyer_msg = buyer_msg;
  }

  public String getBuyer_nickname() {
    return buyer_nickname;
  }

  public void setBuyer_nickname(String buyer_nickname) {
    this.buyer_nickname = buyer_nickname;
  }

  public Integer getBuyer_comment() {
    return buyer_comment;
  }

  public void setBuyer_comment(Integer buyer_comment) {
    this.buyer_comment = buyer_comment;
  }

  public Integer getAddress_id() {
    return address_id;
  }

  public void setAddress_id(Integer address_id) {
    this.address_id = address_id;
  }

  public Integer getFlag() {
    return flag;
  }

  public void setFlag(Integer flag) {
    this.flag = flag;
  }

  public List<OrderDetails> getOrderDetails() {
    return orderDetails;
  }

  public void setOrderDetails(List<OrderDetails> orderDetails) {
    this.orderDetails = orderDetails;
  }

  @Override
  public String toString() {
    return "Order{" +
            "id=" + id +
            ", order_code='" + order_code + '\'' +
            ", payment_money=" + payment_money +
            ", payment_type=" + payment_type +
            ", post_fee=" + post_fee +
            ", status=" + status +
            ", created=" + created +
            ", updated=" + updated +
            ", payment_time=" + payment_time +
            ", consign_time=" + consign_time +
            ", end_time=" + end_time +
            ", close_time=" + close_time +
            ", shipping_name='" + shipping_name + '\'' +
            ", shipping_code='" + shipping_code + '\'' +
            ", member_id=" + member_id +
            ", buyer_msg='" + buyer_msg + '\'' +
            ", buyer_nickname='" + buyer_nickname + '\'' +
            ", buyer_comment=" + buyer_comment +
            ", address_id=" + address_id +
            ", flag=" + flag +
            ", orderDetails=" + orderDetails +
            '}';
  }
}
